<template >
  <div class="demo">
    <div>学校名：{{name}}</div>
    <div>地址：{{address}}</div>
  </div>
</template> 

<script>
 export default {
  name:'MyScholl',
  data() {
    return {
      name:'xxxx',
      address:'china'
    }
  },
}
</script>

<style>
  .demo {
    background-color: #ccc;
  }
</style>